home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / xml-core.preinst < prev    next >
Encoding:
Text File  |  2008-11-06  |  817 b   |  29 lines

  1. #!/bin/sh
  2. ## ----------------------------------------------------------------------
  3. ## debian/preinst : preinstallation script for xml-core
  4. ## ----------------------------------------------------------------------
  5.  
  6. ## ----------------------------------------------------------------------
  7. set -e
  8.  
  9. ## ----------------------------------------------------------------------
  10. if [ "$1" = "install" ]
  11. then
  12.  
  13.     ## ------------------------------------------------------------------
  14.     ## preserve legacy /etc/xml/catalog
  15.     if [ -f /etc/xml/catalog ]
  16.     then
  17.     mv /etc/xml/catalog /etc/xml/catalog.legacy
  18.     fi
  19.  
  20. fi
  21.  
  22. ## ---------------------------------------------------------------------- 
  23. ## automatically generated debhelper commands
  24.  
  25.  
  26. exit 0
  27.  
  28. ## ----------------------------------------------------------------------
  29.